home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Complete Windows Set
/
The Complete Windows Set.iso
/
CODE
/
WCDBRK2.RC
< prev
next >
Wrap
Text File
|
1992-04-22
|
4KB
|
83 lines
#include <windows.h>
#include "wcdbrk2.h"
Wcdbrk2 ICON WCDBRK2.ICO
Board BITMAP BOARD.BMP ; Game board
Pegboard BITMAP PEGBOARD.BMP ; Peg holder
Blclpeg BITMAP BLCLPEG.BMP ; Black Clue peg
Whclpeg BITMAP WHCLPEG.BMP ; White Clue peg
Bluepeg BITMAP BLUEPEG.BMP ; Blue peg
Dkpupeg BITMAP DKPUPEG.BMP ; Dark Purple peg
Grenpeg BITMAP GRENPEG.BMP ; Green peg
Ltblpeg BITMAP LTBLPEG.BMP ; Light Blue peg
Oranpeg BITMAP ORANPEG.BMP ; Orange peg
Purppeg BITMAP PURPPEG.BMP ; Purple peg
Redpeg BITMAP REDPEG.BMP ; Red peg
Yellpeg BITMAP YELLPEG.BMP ; Yellow peg
WndCdBrkMenu MENU
BEGIN
POPUP "&New"
BEGIN
MENUITEM "Start New Game", IDM_NEW
END
POPUP "&About"
BEGIN
MENUITEM "About Code Breaker...", IDM_ABOUT
END
POPUP "&Give Up"
BEGIN
MENUITEM "I give up!", IDM_GIVEUP
END
POPUP "&Help"
BEGIN
MENUITEM "How do I play this?", IDM_HELP
END
END
AboutBox DIALOG 22, 17, 144, 162
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About Code Breaker II"
BEGIN
CTEXT "by OMNIBUS Systems" -1, 0, 5, 144, 8
CTEXT "Kenneth Fogel" -1, 0, 14, 144, 8
CTEXT "Code Breaker Game" -1, 0, 29, 144, 8
CTEXT "Version 2.1" -1, 0, 38, 144, 8
CTEXT "CompuServe 74646,2157" -1, 0, 50, 144, 8
CTEXT "GENIE K.FOGEL" -1, 0, 59, 144, 8
CTEXT "This program is EGOWARE!" -1, 0, 80, 144, 8
CTEXT "The program and source code I place" -1, 0, 89, 144, 8
CTEXT "in the public domain. I only ask that" -1, 0, 98, 144, 8
CTEXT "you drop me a line and let me know" -1, 0, 107, 144, 8
CTEXT "what you think of it!" -1, 0, 116, 144, 8
CTEXT "Please include what part of the world" -1, 0, 125, 144, 8
CTEXT "you are from." -1, 0, 134, 144, 8
DEFPUSHBUTTON "OK" IDOK, 53, 145, 38, 14, WS_GROUP
ICON "Wcdbrk2", -1, 15, 14, 16, 21
END
HelpBox DIALOG 5, 5, 305, 200
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "Code Breaker II Help"
BEGIN
LTEXT "Your task is to discover the secret code created by the computer. The code is made" -1, 5, 10, 305, 8
LTEXT "up of 4 out of 8 possible colours. Colours may or may not repeat." -1, 5, 19, 305, 8
LTEXT "Using the mouse, point and click on a colour in the pegboard on the right side of" -1, 5, 29, 305, 8
LTEXT "the game board. An asterisk will appear to show which colour is currently selected." -1, 5, 38, 305, 8
LTEXT "Using the mouse, point and click on a square in the game board to place your colour" -1, 5, 48, 305, 8
LTEXT "down. You start from the bottom row and after each round you advance to the next row" -1, 5, 57, 305, 8
LTEXT "up. You may change your selections until you are ready to see if you have been successful." -1, 5, 66, 305, 8
LTEXT "Using the mouse, point and click on the button labelled 'Did I Get It Right'." -1, 5, 76, 305, 8
LTEXT "If you have not filled all the squares in the current row you will be ignored." -1, 5, 85, 305, 8
LTEXT "Otherwise the computer will either declare you the winner or provide clues to" -1, 5, 94, 305, 8
LTEXT "assist you in uncovering the code." -1, 5,103, 305, 8
LTEXT "A clue is either a white or black peg on the right of the colour squares. A white peg" -1, 5,113, 305, 8
LTEXT "signifies that one of your colours matches the secret code in colour and position." -1, 5,122, 305, 8
LTEXT "A black peg signifies that one of your colours is correct but in the wrong position." -1, 5,131, 305, 8
LTEXT "The position of the clue pegs is randomly selected. This means the same guess made twice" -1, 5,140, 305, 8
LTEXT "will have the same mix of white and black pegs but in different positions each time." -1, 5,149, 305, 8
CTEXT "Good luck and don't forget to drop me a line telling me that" -1, 5,159, 305, 8
CTEXT "you are using the program and where in the world you are from." -1, 5,168, 305, 8
DEFPUSHBUTTON "OK" IDOK, 135, 180, 40, 14, WS_GROUP
END